package com.achen.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*给页面返回json形式的一句话*/
@RestController
//@Controller
public class HelloController {
    //    @ResponseBody
    @RequestMapping("/hello")
    public String hello(){
        return "springboot，你好！";
    }


}
